package ru.spb.osll.myfit.client.service;

import java.util.TreeMap;

import ru.spb.osll.myfit.common.PageElement;
import ru.spb.osll.myfit.common.Table;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface CreateHelperServiceAsync {
  void loadTemplates(AsyncCallback<TreeMap<String, String>> callback);

  void getTemplate(String input, AsyncCallback<Table> callback);

  void loadInclude(String pagePath, String includePath, AsyncCallback<PageElement> callback);

  public void convertWikiToHtml(String wikiText, AsyncCallback<String> callback);

  public void createContent(int level, String PageName, AsyncCallback<PageElement> callback);

}
